package ${servicePackage}.${prefix}.impl;

import com.credithc.pay.data.dao.BaseDAO;
import ${modelPackage}.${prefix}.${modelName};
import ${mapperPackage}.${prefix}.${modelName}Mapper;
import com.credithc.pay.data.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ${servicePackage}.${prefix}.${modelName}Service;
/**
* Created by ${author} on ${date}.
*/
@Service
public class ${modelName}ServiceImpl extends AbstractService<Long,${modelName}>  implements ${modelName}Service{


    @Autowired
    private ${modelName}Mapper ${modelName}Mapper;


    @Override
    protected BaseDAO<Long, ${modelName}> getBaseDAO() {
    return ${modelName}Mapper;
    }
}
